pandas query return column

37

df_new = df.query('col1==1 & col2=="x" ')[['col1', 'col3']]
df_new = df.query('col1==1 & col2=="x" ')[['col1', 'col3']]
df_new = df.query('col1==1 & col2=="x" ')[['col1', 'col3']]
df_new = df.query('col1==1 & col2=="x" ')[['col1', 'col3']]
df_new = df.query('col1==1 & col2=="x" ')[['col1', 'col3']]
df_new = df.query('col1==1 & col2=="x" ')[['col1', 'col3']]
df_new = df.query('col1==1 & col2=="x" ')[['col1', 'col3']]
df_new = df.query('col1==1 & col2=="x" ')[['col1', 'col3']]

Comments

Submit
0 Comments